package com.pengshun.modules.api.user.service.dto;

import com.pengshun.modules.api.coal.validator.*;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CarDrivingDto {


    @NotNull(message = "carDrivingId不能为空", groups = { Third.class, Fourth.class})
    private Long carDrivingId;
    private Long drivingUserId;
    @NotNull(message = "carUserId不能为空", groups = {Second.class,Sixth.class})
    private Long ownerDrivingId;
    @NotNull(message = "carUserId不能为空", groups = {First.class})
    private Long carUserId;
    @NotNull(message = "carOwnerId不能为空", groups = {Second.class, Fifth.class})
    private Long carOwnerId;
    private Date applyTime;
    private Date checkTime;
    private Integer status;
    @NotNull(message = "freeze不能为空", groups = {Third.class})
    private Integer freeze;
    private Integer type;
}
